define at3_ganglia_daemon($gangliasrvaddr) {
    
    package { ["ganglia", "ganglia-gmond"]:
      ensure => installed,
    }
    
    file { "/etc/gmond.conf":
      owner => "root",
      group => "root",
      mode => 644,
      content => template("at3_ganglia_daemon/etc-gmond.conf.tpl"),
      notify => Service["gmond"],
    }

    service { [ "gmond"]:
      ensure => running,
      enable => true,
      hasstatus => true,
      hasrestart => true,
      require => [Package["ganglia", "ganglia-gmond"], File["/etc/gmond.conf"]]
    }

}


define at3_ganglia_daemon_reverse($webaddr, $roleid) {
}

